﻿using GrapeCity.Forguncy.CellTypes;
using GrapeCity.Forguncy.Plugin;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vant.Properties;

namespace Vant.CellTypes
{
    [SRCategory(nameof(Resources.Vant_DisplayName))]
    [SupportUsingScope(PageScope.AllMobilePage, ListViewScope.None)]
    [DependenceRuntimModule("vue3")]
    public abstract class VantCellTypeBase : CellType, IDisablePropertySettings
    {
        public virtual ForguncyDisabledSettings GetDisabledPropertySettings(ForguncyPageKind pageType)
        {
            return ForguncyDisabledSettings.Bold |
                ForguncyDisabledSettings.Underline |
                ForguncyDisabledSettings.Italic |
                ForguncyDisabledSettings.TopAlignment |
                ForguncyDisabledSettings.MiddleAlignment |
                ForguncyDisabledSettings.BottomAlignment |
                ForguncyDisabledSettings.RightAlignment |
                ForguncyDisabledSettings.CenterAlignment |
                ForguncyDisabledSettings.LeftAlignment;
        }
    }
}
